package com.example.annotations;

import java.lang.annotation.*;

/**
 * 判断值是否为空
 * @Author: chen
 * @CreateTime: 2022-08-16
 * @Version: 1.0
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface  NotNull {
    String value() default "参数不能为空";
}
